<template>
    <div class="center-view">
        <div>
            <img src="./imgs/wallet.jpg" alt="">
        </div>
        <p @click="gotoLogin">登录</p>
    </div>
</template>
<script>
import iconfont from '../../font/iconfont.js'
import Vue from 'vue';
import { Grid, GridItem } from 'vant';
Vue.use(Grid);
Vue.use(GridItem);
export default {
    methods: {
        gotoLogin(){
            // 去登陆页面
            this.$router.push("/login")
        }
    }
};
</script>

<style lang="scss" scoped>
.center-view{
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.center-view div{
    width: 280px;
    height: 200px;
    margin-top: 80px;
    margin-bottom: 20px;
}
.center-view div img{
    width: 100%;
}
.center-view p{
    width: 180px;
    height: 50px;
    line-height: 50px;
    background-color: #FF6742;
    font-size: 18px;
    color: #fff;
    border: 0;
    border-radius: 30px;
}
</style>